import 'package:json_annotation/json_annotation.dart';

part 'level.g.dart';

@JsonSerializable()
class Level extends Object {
  String? level;
  double? layout;
  @JsonKey(name: "middle_front")
  double? middleFront;
  double? middle;
  @JsonKey(name: "middle_back")
  double? middleBack;
  @JsonKey(name: "end_game")
  double? endGame;
  double? global;

  Level();

  factory Level.fromJson(Map<String, dynamic> srcJson) =>
      _$LevelFromJson(srcJson);

  Map<String?, dynamic> toJson() => _$LevelToJson(this);
}
